package com.nuaa.controller.admin;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.nuaa.domain.change.ExpEntity;
import com.nuaa.service.inter.ExpService;
import com.nuaa.utils.DataGrid;
import com.nuaa.utils.PageInfo;

@Controller
@RequestMapping("admin/exp")
public class ExpController {
	@Autowired
	private ExpService expService;
	@ResponseBody
	@RequestMapping(params="method=index", method=RequestMethod.POST)
	public DataGrid<ExpEntity> index(PageInfo pager,String order_no){
		return expService.getByOrderNo(order_no, pager);
	}
}
